Release 10.1A: OpenEdge Development:
Programming Interfaces
Using XML Schema
You can write XML data and XML Schema from a 4GL application and read it back into the application at a later time. In this scenario, the provided 4GL methods shield you from having to learn much about XML Schema. However, more complex use cases may require you to understand the interaction of Progress and XML Schema.
During a read XML operation, Progress acts differently depending on the following:
- If no 4GL definition exists, which means the object is dynamic, Progress can provide a definition for the dynamic object from XML Schema. For more information, see "Creating dynamic 4GL objects from XML Schema" section.
- If a 4GL definition exists and XML Schema is also specified, Progress verifies that the XML Schema matches the 4GL definition. For more information, see "Verifying XML Schema against 4GL definitions" section.
- If no 4GL definition exists and no XML Schema is specified, Progress attempts to construct a schema from XML data, This is called inferring schema. For more information, see "Inferring definitions from XML data" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |